//
// Created by iguilty on 2022-01-14.
//

#include <iostream>
#include "Handle.h"
using namespace std;

int main(){
    Handle* h1 = new ConcreteHandleA();
    Handle* h2 = new ConcreteHandleB();
    h1->SetSuccessor(h2);
    h1->HandleRequest();
    return 0;
}
